package com.neuedu.his.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.his.entity.PatientCosts;
import com.neuedu.his.mapper.PatientCostsMapper;

@Service
@Transactional
public class PatientCostsServiceImpl implements PatientCostsService{

	@Autowired
	private PatientCostsMapper dao;
	@Override
	public List<PatientCosts> selectAll(PatientCosts u) {
		// TODO Auto-generated method stub
		return dao.selectAll(u);
	}

	@Override
	public List<PatientCosts> selectById(PatientCosts u) {
		// TODO Auto-generated method stub
		return dao.selectById(u);
	}

	@Override
	public int add(PatientCosts u) {
		// TODO Auto-generated method stub
		return dao.add(u);
	}

	@Override
	public int update(PatientCosts u) {
		// TODO Auto-generated method stub
		return dao.update(u);
	}

	@Override
	public int delete(PatientCosts u) {
		// TODO Auto-generated method stub
		return dao.delete(u);
	}

	
}
